import 'package:flutter/material.dart';

class HomeSearchBar extends StatelessWidget {
  const HomeSearchBar({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 50,
      padding: const EdgeInsets.all(10),
      color: const Color.fromARGB(255, 235, 232, 232),
      child: Container(
        decoration: BoxDecoration(
          color: Colors.white,
          borderRadius: BorderRadius.circular(15)
        ),
        padding: const EdgeInsets.only(left: 5),
        child: const Row(
          children: [
            Icon(Icons.search, color: Colors.grey,),
            SizedBox(width: 10,),
            Text('搜索你要找的商品',style: TextStyle(color: Colors.grey),)
          ],
        ),
      ),
    );
  }
}
